import 'package:flutter_screenutil/flutter_screenutil.dart';

class Screen {
  // 屏幕宽
  static double get width => ScreenUtil().screenWidth;
  // 屏幕高
  static double get height => ScreenUtil().screenHeight;
  // 系统状态栏高度
  static double get statusBarHeight => ScreenUtil().statusBarHeight;
  // 底部安全举例距离BottomBar高度
  static double get bottomBarHeight => ScreenUtil().bottomBarHeight;
  // 导航栏的高度
  static double get navgationBarHeight =>
      statusBarHeight + (statusBarHeight > 20 ? 44 : 54);
}
